<div id="vtns_sub_menu" class="clearfix">
	<?php 
	$count = 0;
	foreach ($submenus as $submenu)
	{
		$count ++;
		if ($count > 1) echo '<div class="pull-right">|</div> ';
	?>
    <a class="vtns_sub_menu_item pull-right" href="<?php echo url_for('cms/permalink?cms_category_id='.$submenu['cms_category_id'].'-'.vtnsSEO::getPermalink($submenu['name']))?>"><?=$submenu['name']?></a> 
    <?
	}
	?>
</div>